package hottargui.config;

import hottargui.framework.GameData;
import hottargui.framework.PlayerColor;
import hottargui.framework.Tile;
import hottargui.framework.TileType;

public class DeltaTestNoOneWinBoardStrategy extends DeltaTestBoardStrategy {
	@Override
	public void setupBoard(GameData gameData) {
		super.setupBoard(gameData);

		/*
		 * red player r tiles (1 oasis, 1 reg, 1 erg, 1 mountain) = 10 point
		 * green player 3 tiles (1 reg, 1 mountain, 1 feshfesh) = 6 point blue
		 * player 3 tiles (1 oasis, 1 reg, 1 erg) = 10 point yellow player 3
		 * tiles 1 erg, 1 reg, 1 feshfesh = 7 point
		 */

		/* Setup red tiles */
		Tile redOasis1 = getFreeTile(TileType.Oasis);
		redOasis1.setOwnerColor(PlayerColor.Red);

		Tile redReg1 = getFreeTile(TileType.Reg);
		redReg1.setOwnerColor(PlayerColor.Red);

		Tile redErg1 = getFreeTile(TileType.Erg);
		redErg1.setOwnerColor(PlayerColor.Red);

		Tile redMountain1 = getFreeTile(TileType.Mountain);
		redMountain1.setOwnerColor(PlayerColor.Red);

		/* Setup green tiles */
		Tile greenReg1 = getFreeTile(TileType.Reg);
		greenReg1.setOwnerColor(PlayerColor.Green);

		Tile greenMountain1 = getFreeTile(TileType.Mountain);
		greenMountain1.setOwnerColor(PlayerColor.Green);

		Tile greenFesh1 = getFreeTile(TileType.Feshfesh);
		greenFesh1.setOwnerColor(PlayerColor.Green);

		/* Setup blue tiles */
		Tile blueOasis1 = getFreeTile(TileType.Oasis);
		blueOasis1.setOwnerColor(PlayerColor.Blue);

		Tile blueReg1 = getFreeTile(TileType.Reg);
		blueReg1.setOwnerColor(PlayerColor.Blue);

		Tile blueErg1 = getFreeTile(TileType.Erg);
		blueErg1.setOwnerColor(PlayerColor.Blue);

		/* Setup yellow tiles */
		Tile yellowErg1 = getFreeTile(TileType.Erg);
		yellowErg1.setOwnerColor(PlayerColor.Yellow);
		Tile yellowReg1 = getFreeTile(TileType.Reg);
		yellowReg1.setOwnerColor(PlayerColor.Yellow);
		Tile yellowFesh1 = getFreeTile(TileType.Feshfesh);
		yellowFesh1.setOwnerColor(PlayerColor.Yellow);
	}

}
